treat like dirt

Behave badly or show contempt toward, as in Her boss treats all the secretaries like dirt. This idiom uses dirt in the sense of “something worthless,” a usage dating from the mid-1300s.